package cn.zhuama.pet.service;

import cn.zhuama.basic.util.AjaxResult;
import cn.zhuama.basic.util.PageList;
import cn.zhuama.pet.domain.Pet;
import cn.zhuama.basic.service.IBaseService;
import cn.zhuama.pet.domain.PetDetail;
import cn.zhuama.pet.query.PetQuery;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Wilson
 * @since 2025-03-31
 */
public interface IPetService extends IBaseService<Pet> {

    PetDetail detailById(Long petId);

    AjaxResult onsale(List<Long> ids, HttpServletRequest request);

    AjaxResult offsale(List<Long> ids, HttpServletRequest request);

    PageList<Pet> queryPageForEmp(PetQuery petQuery,HttpServletRequest request);
}
